import sys
from PyQt5.QtWidgets import QApplication
from recognition import RecognitionThread
from subtitle_window import SubtitleWindow


if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = SubtitleWindow()
    window.show()

    recognition_thread = RecognitionThread(window)
    recognition_thread.start()

    sys.exit(app.exec_())
